<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <include file="Pub:head"/>
    <link rel="stylesheet" href="__PUBLIC__/kindeditor/themes/default/default.css"/>
    <script charset="utf-8" src="__PUBLIC__/kindeditor/kindeditor-min.js"></script>
    <script charset="utf-8" src="__PUBLIC__/kindeditor/lang/zh_CN.js"></script>
    <script>
        $(function () {
            var editor;
            KindEditor.ready(function (K) {
                editor = K.create('textarea[name="result"]', {
                    allowFileManager: true,
                    autoHeightMode: true,
                    afterCreate: function () {
                        this.loadPlugin('autoheight');
                    }
                });
            });
        })
    </script>
</head>
<body>

<table class="tableStyle" width="100%" border="0" cellspacing="0" cellpadding="0">


    <tr>
        <td width="15%" class="light">项目编号:</td>
        <td width="85%">{$data['projectid']}</td>
    </tr>

    <tr>
        <td width="15%" class="light">项目名称:</td>
        <td width="85%">{$data['name']}</td>
    </tr>

    <tr>
        <td width="15%" class="light">负责人:</td>
        <td width="85%">
<?php
 echo $employee_page[$data["taker"]]["name"];
      ?>

        </td>
    </tr>

    <tr>
        <td width="15%" class="light">创建日期:</td>
        <td width="85%">{$data['createtime']}</td>
    </tr>
    <tr>
        <td width="15%" class="light">截止日期:</td>
        <td width="85%">{$data['deadline']}</td>
    </tr>
    <tr>
        <td width="15%" class="light">开始日期:</td>
        <td width="85%">{$data['begintime']}</td>
    </tr>
    <tr>
        <td width="15%" class="light">完成日期:</td>
        <td width="85%">{$data['finishtime']}</td>
    </tr>
    <tr>
        <td width="15%" class="light">创建者:</td>
        <td width="85%">
            <?php
                      echo $employee_page[$data["creator"]]["name"];
                    ?>
        </td>
    </tr>
    <form action="__URL__/wancheng" method="post">
        <tr>
            <td width="15%" class="light">完成内容:</td>
            <td width="85%">
                <textarea name="result" style="width:800px;height:400px;visibility:hidden;"></textarea>

                <input type="hidden" name="id" value="{$data['id']}"/>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="保存任务内容"/>
            </td>
        </tr>
    </form>
</table>


</body>
</html>